package ch04.home;

class Exercise4_08 {
	public static void main(String[] args) {
		for (int x = 0; x <= 10; x++) {
			//<1
			for (int y = 0; y <= 10; y++) {
				if (2 * x + 4 * y == 10) {
					System.out.println("x=" + x + ", y=" + y);
				}
			}
			//1>
		}
	}
}
/*
x=1, y=2
x=3, y=1
x=5, y=0
*/